import { MockMethod } from "vite-plugin-mock"

export default [
  {
    url: "/dev-api/auth/token",
    timeout: 2000,
    method: "post",
    response: () => {
      return {
        "code": 20000,
        "message": "登录成功",
        "data": {
          "access_token": "@word(30)"
        }
      }
    }
  },
] as MockMethod[]